-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLS #192
Closed
Closed
SLS #192
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 tasks
shnarazk
force-pushed
the
20221011-SLS
branch
from
October 18, 2022 11:41
0a55f1b
to
3a5e0d9
Compare
|
greedy DB --- a/src/cdb/db.rs
+++ b/src/cdb/db.rs
@@ -1025,7 +1025,9 @@ impl ClauseDBIF for ClauseDB {
// there're exception. Since this is the pre-stage of clause vivification,
// we want keep usefull clauses as many as possible.
// Therefore I save the clauses which will become vivification targets.
- let thr = (self.lb_entanglement.get_slow() + 1.0).min(self.lbd.get_fast().max(5.0)) as u16;
+ // let thr = (self.lb_entanglement.get_slow() + 1.0).min(self.lbd.get_fast().max(5.0)) as u16;
+ let extra = 100.0 / (self.num_learnt as f64).log2();
+ let thr = ((self.lb_entanglement.get_slow() + self.lbd.get_slow()).log2() + extra) as u16;
for i in &perm[keep..] {
|
…l amount is small
…non-decreasing one
shnarazk
added a commit
that referenced
this pull request
Jan 30, 2023
- fix #188 - feature 'reward_annealing' #187 - `Certificate` handles empty clauses correctly #191 - fix stage calculations #194 - a better clause reduction #195 - SolverError::OutOfRange -> SolverError::InvalidLiteral #198 - SLS #159 #192 #199 - fix a build error without feature 'trail_saving' #202 - fix a build error without feature 'rephase' #205 - two-mode reduction (#208)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
base line